
<h3 id="domHtml">

</h3>	

	<script >

	var resizeFunc= function(){
		var html = (window.innerWidth);
		html += ("<BR>\n");
		html += (window.innerHeight);

		document.getElementById('domHtml').innerHTML = html ;
	}

	window.onresize = function () {
      resizeFunc();
    };	


    window.dispatchEvent(new Event('resize'));
</script>
